package net.osweb.crm.modules.assist.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Rssconfig entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "assist_rssconfig")
public class RssConfig implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 4444865705572015590L;
	private Integer id;
	private Integer userid;
	private String rssurl;
	private String title;
	private Integer type;
	private String comment;

	// Constructors

	/** default constructor */
	public RssConfig() {
	}

	/** full constructor */
	public RssConfig(Integer userid, String rssurl, String title, Integer type,
			String comment) {
		this.userid = userid;
		this.rssurl = rssurl;
		this.title = title;
		this.type = type;
		this.comment = comment;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "userid")
	public Integer getUserid() {
		return this.userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	@Column(name = "rssurl")
	public String getRssurl() {
		return this.rssurl;
	}

	public void setRssurl(String rssurl) {
		this.rssurl = rssurl;
	}

	@Column(name = "title")
	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	@Column(name = "type")
	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	@Column(name = "comment")
	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

}